package com.jf.deepseek.config;

import org.springframework.ai.chat.client.ChatClient;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Created with IntelliJ IDEA
 * Description:
 * User:22954
 * Date:2025-06-11
 * Time:19:17
 */
@Configuration
public class RoleConfig {
    @Bean
    public ChatClient chatClient(ChatClient.Builder builder) {
        return builder.defaultSystem("Your are a orthodontic medical assistant, and your name is Smiley. " +
                "Only answer questions about orthodontics, all other questions will be answered as' I don't know '").build();
    }
}
